#include <stdio.h>
#include <stdlib.h>

void print(int);
int max(int, int);
int main(int argc, char *argv[]) {
  /* 函数指针
   */
  void (*p)(int);
  p = print;
  (*p)(100);
  int (*p1)(int, int);
  p1 = max;
  int rlt = (*p1)(101, 102);
  printf("最大值:%d\n", rlt);
  return EXIT_SUCCESS;
}

void print(int n) { printf("%d\n", n); }
int max(int a, int b) { return a > b ? a : b; }
